package com.hsjk.szwj.module.pay.dal.mysql;

import com.hsjk.szwj.framework.mybatis.core.mapper.BaseMapperX;
import com.hsjk.szwj.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.hsjk.szwj.module.pay.dal.dataobject.system.IsvInfoDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/08/21 16:47
 **/
@Mapper
public interface IIsvInfoMapper extends BaseMapperX<IsvInfoDO> {
    default IsvInfoDO getIsvInfoById(Long id) {
        return selectOne(new LambdaQueryWrapperX<IsvInfoDO>()
                .eq(IsvInfoDO::getId, id));
    }
}
